<br/><br/><br/>
<div id="REGISTER_page">
    <?php 
// Check if we have to create a superadmin
    Erra_Core_DatabasePdo::SELECT('SELECT id FROM access_accessobject WHERE object_id="super_admin"');
    if (!Erra_Core_DatabasePdo::rowCount()) {
        print Access_AccessObject::getObject('super_admin', 'CREATE', null, 'register-super-admin')->_form('AccessAction/createAdmin');
    } else {
        print Access_AccessObject::getObject(uniqid(), 'CREATE', null, 'register-admin')->_form('AccessAction/createAdmin');
    }
    ?>
</div> 